package cn.jorian.framework.repository;


import cn.jorian.framework.bean.SongBean;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SongRepository extends ElasticsearchRepository<SongBean, String> {

    List<SongBean> findByName(String name);

    SongBean save(SongBean bean);
}
